﻿<Button
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="DiagramCreator.StyledButton"
	x:Name="StyledButton1"
	d:DesignWidth="385.71" d:DesignHeight="480" Height="Auto" Template="{DynamicResource ButtonControlTemplate1}" Content="hgkhjkhjkhjk" Foreground="Black" FontSize="13" FontWeight="Normal" FontFamily="Verdana">
	<Button.Resources>
		<ControlTemplate x:Key="ButtonControlTemplate1" TargetType="{x:Type Button}">
			<Grid Width="Auto" Height="Auto">
				<Rectangle RadiusX="2" RadiusY="2" Margin="0,0,0,0" Fill="{DynamicResource NormalBackgroundBrush}" Stroke="{DynamicResource InactiveBorderBrush}" x:Name="rectangle"/>
				<ContentPresenter VerticalAlignment="Center" Margin="5,3,5,3" x:Name="MainContentPresenter"/>
			</Grid>
			<ControlTemplate.Triggers>
				<Trigger Property="IsMouseOver" Value="True">
					<Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource HighlightBackgroundBrush}"/>
					<Setter Property="Stroke" TargetName="rectangle" Value="{DynamicResource BorderBrush}"/>
				</Trigger>
				<Trigger Property="IsPressed" Value="True">
					<Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource PressedBackgroundBrush}"/>
					<Setter Property="Stroke" TargetName="rectangle" Value="{DynamicResource BorderBrush}"/>
				</Trigger>
			</ControlTemplate.Triggers>
		</ControlTemplate>
	</Button.Resources>

</Button>